package com.bilibili.java.books.bean;

import java.util.Date;

public class User {
	private int id;
	private String account;
	private String pwd;
	private String nickname;//昵称
	private String phone;//手机
	private String veriCode;//验证码
	private Date deadline;//验证码过期时间
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public User(int id, String account, String pwd, String nickname, String phone, String veriCode, Date deadline) {
		super();
		this.id = id;
		this.account = account;
		this.pwd = pwd;
		this.nickname = nickname;
		this.phone = phone;
		this.veriCode = veriCode;
		this.deadline = deadline;
	}
	public String getAccount() {
		return account;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", account=" + account + ", pwd=" + pwd + ", nickname=" + nickname + ", phone="
				+ phone + ", veriCode=" + veriCode + ", deadline=" + deadline + "]";
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getVeriCode() {
		return veriCode;
	}
	public void setVeriCode(String veriCode) {
		this.veriCode = veriCode;
	}
	public Date getDeadline() {
		return deadline;
	}
	public void setDeadline(Date deadline) {
		this.deadline = deadline;
	}
	
	public User(String account, String pwd) {
		super();
		this.account = account;
		this.pwd = pwd;
	}
	public User() {
		super();
	}
	
	

}
